# -*- coding:utf-8 -*-
from django.db import models
from django.forms import ModelForm 
from django import forms
from models import *

class UserForm(forms.Form):
    username = forms.CharField(label='*用户名：',max_length=20)
    password = forms.CharField(label='*密码：',widget=forms.PasswordInput())
    repassword = forms.CharField(label='*重新输入密码：',widget=forms.PasswordInput())
    nickName = forms.CharField(label='*昵称：',max_length=20)
    email = forms.EmailField(label='*电子邮件：')
    userQQ = forms.CharField(label='QQ：',max_length=15)
    mobilePhone = forms.CharField(label='手机号码：',max_length=11)
